4.4 Archiving the System Events

To create an archive database to store your system events, run the MyID installation program to create an archive database. See section 4.1, Creating an archive database for details. Once you have created the new empty database, you must configure the following data link files to point to the new database:

See section 4.1.1, Configuring the data link files for details.

You can set up MyID to archive the contents of the system events table in the MyID database periodically in a similar way to archiving the Audit table; see section 4.3, Archiving the audit trail.

You can use the LogEventsArchive table, and a stored procedure, sp_ArchiveLogEvents.

Set up a SQL Timed Task on your MyID database to run the sp_ArchiveLogEvents procedure periodically. The syntax is as follows:

sp_ArchiveLogEvents '<archivedatabase>', <daysOld>

where: